package com.project.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * @author RJ
 * @date 2022/9/13 16:05
 */
/*
    鼠害一览
 */
@TableName("mouse_info")
public class MouseBean {
    //鼠害id
    @TableId(value = "mouse_id", type = IdType.AUTO)
    private Integer mouseId;
    //名称
    @TableField("mouse_name")
    private String mouseName;
    //食物
    @TableField("mouse_food")
    private String mouseFood;
    //繁殖
    @TableField("mouse_multiply")
    private String mouseMultiply;
    //天敌
    @TableField("mouse_sentinel")
    private String mouseSentinel;
    //图片
    @TableField("mouse_pic")
    private String mousePic;
    //防治措施
    @TableField("mouse_control")
    private String mouseControl;
    //主要危害
    @TableField("mouse_main_harm")
    private String mouseMainHarm;

    public MouseBean() {
    }

    public MouseBean(String mouseName, String mouseFood, String mouseMultiply, String mouseSentinel, String mousePic, String mouseControl, String mouseMainHarm) {
        this.mouseName = mouseName;
        this.mouseFood = mouseFood;
        this.mouseMultiply = mouseMultiply;
        this.mouseSentinel = mouseSentinel;
        this.mousePic = mousePic;
        this.mouseControl = mouseControl;
        this.mouseMainHarm = mouseMainHarm;
    }

    public Integer getMouseId() {
        return mouseId;
    }

    public void setMouseId(Integer mouseId) {
        this.mouseId = mouseId;
    }

    public String getMouseName() {
        return mouseName;
    }

    public void setMouseName(String mouseName) {
        this.mouseName = mouseName;
    }

    public String getMouseFood() {
        return mouseFood;
    }

    public void setMouseFood(String mouseFood) {
        this.mouseFood = mouseFood;
    }

    public String getMouseMultiply() {
        return mouseMultiply;
    }

    public void setMouseMultiply(String mouseMultiply) {
        this.mouseMultiply = mouseMultiply;
    }

    public String getMouseSentinel() {
        return mouseSentinel;
    }

    public void setMouseSentinel(String mouseSentinel) {
        this.mouseSentinel = mouseSentinel;
    }

    public String getMousePic() {
        return mousePic;
    }

    public void setMousePic(String mousePic) {
        this.mousePic = mousePic;
    }

    public String getMouseControl() {
        return mouseControl;
    }

    public void setMouseControl(String mouseControl) {
        this.mouseControl = mouseControl;
    }

    public String getMouseMainHarm() {
        return mouseMainHarm;
    }

    public void setMouseMainHarm(String mouseMainHarm) {
        this.mouseMainHarm = mouseMainHarm;
    }

    @Override
    public String toString() {
        return "MouseBean{" +
                "mouseId=" + mouseId +
                ", mouseName='" + mouseName + '\'' +
                ", mouseFood='" + mouseFood + '\'' +
                ", mouseMultiply='" + mouseMultiply + '\'' +
                ", mouseSentinel='" + mouseSentinel + '\'' +
                ", mousePic='" + mousePic + '\'' +
                ", mouseControl='" + mouseControl + '\'' +
                ", mouseMainHarm='" + mouseMainHarm + '\'' +
                '}';
    }
}
